#ifndef MYTEXTEDIT_H
#define MYTEXTEDIT_H

#include <QTextEdit>

class MyTextEdit : public QTextEdit
{
	Q_OBJECT
public:
	explicit MyTextEdit(QWidget *parent = 0);
	explicit MyTextEdit(const QString &text, QWidget *parent = 0);
	
signals:
	void anchorClicked(QString href);
	
public slots:

protected:
	virtual void mousePressEvent(QMouseEvent *e);
};

#endif // MYTEXTEDIT_H
